using System;
using System.Collections.Generic;
using System.Text;
using Pay.TO;

namespace Pay.Data {
	/// <summary>
	/// 退款表:mc_RefundOrder
	/// </summary>
	public partial class RefundOrder {
		public RefundOrder() {
		}

		/// <summary>
		/// 
		/// </summary>
		public long Id { get; set; }
		/// <summary>
		/// 退款订单号
		/// </summary>
		public string OrderNo { get; set; }
		/// <summary>
		/// 订单ID
		/// </summary>
		public long OrderId { get; set; }
		/// <summary>
		/// 实际退款金额
		/// </summary>
		public decimal Amount { get; set; }
		/// <summary>
		/// 申请时间
		/// </summary>
		public long ApplyTime { get; set; }
		/// <summary>
		/// 状态
		/// </summary>
		public RefundStatus Status { get; set; }
		/// <summary>
		/// 支付信息id
		/// </summary>
		public long? PayId { get; set; }
		/// <summary>
		/// 平台退款时间
		/// </summary>
		public long? RefundTime { get; set; }
		/// <summary>
		/// 失败原因
		/// </summary>
		public string Fail { get; set; }

		/// <summary>
		/// 订单表：mc_Order
		/// </summary>
		public virtual Order Order { get; set; }
		/// <summary>
		/// 支付信息表：mc_PayInfo
		/// </summary>
		public virtual PayInfo PayInfo { get; set; }
	}
}